<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>[[PasteAsHTML]] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
			&nbsp; </title>
		
		<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.1)" />
		<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.1)" />
		<link href="Load.ashx?type=style&file=dialog.css" type="text/css" rel="stylesheet" />
		<!--[if IE]>
			<link href="Load.ashx?type=style&file=IE.css" type="text/css" rel="stylesheet" />
		<![endif]-->
		<script type="text/javascript" src="Load.ashx?type=dialogscript&file=DialogHead.js"></script>
	</head>
	<body>
		<table border="0" cellpadding="0" cellspacing="2" style="height:100%" width="100%" id="Table1">
        <tr>
            <td class="title">[[PasteAsHTML]]</td>
            <td align="right" style="white-space:nowrap" >
            </td> 
        </tr>
        <tr>
            <td colspan="2">[[UseCtrl_VtoPaste]]</td>
        </tr>
        <tr>
            <td colspan="2" align="center" style="height:100%" >
               <iframe id="idSource" name="idSource" src="Template.aspx" scrolling="auto" style="border:1px solid #999999; WIDTH: 100%; HEIGHT: 100%;background-color:#ffffff;"></iframe>
			</td>
        </tr>
        <tr>
            <td style="width:50%" align="left">
                <input type="button" id="insert" name="insert" value="[[Insert]]" onclick="insertContent();" />
            </td>
            <td style="width:50%" align="right">
                <input type="button" value="[[Cancel]]" onclick="cancel();" id="Button1" />
            </td>
        </tr>
    </table>
	</body>
	<script type="text/javascript" src="Load.ashx?type=dialogscript&file=DialogFoot.js"></script>
	
		<script type="text/javascript">		
			
			var OxObac2=["onload","contentWindow","idSource","innerHTML","body","document","","designMode","on","contentEditable","fontFamily","style","Tahoma","fontSize","11px","color","black","background","white","length","\x3C$1$3","\x26nbsp;","\x22","\x27","$1","\x26amp;","\x26lt;","\x26gt;","\x26#39;","\x26quot;"];var editor=Window_GetDialogArguments(window); function cancel(){ Window_CloseDialog(window) ;}  ; window[OxObac2[0x0]]=function (){var iframe=document.getElementById(OxObac2[0x2])[OxObac2[0x1]]; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0x3]]=OxObac2[0x6] ; iframe[OxObac2[0x5]][OxObac2[0x7]]=OxObac2[0x8] ; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0x9]]=true ; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0xb]][OxObac2[0xa]]=OxObac2[0xc] ; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0xb]][OxObac2[0xd]]=OxObac2[0xe] ; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0xb]][OxObac2[0xf]]=OxObac2[0x10] ; iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0xb]][OxObac2[0x11]]=OxObac2[0x12] ; iframe.focus() ;}  ; function insertContent(){var iframe=document.getElementById(OxObac2[0x2])[OxObac2[0x1]];var Ox8f=iframe[OxObac2[0x5]][OxObac2[0x4]][OxObac2[0x3]];if(Ox8f&&Ox8f[OxObac2[0x13]]>0x0){ Ox8f=_CleanCode(Ox8f) ;if(Ox8f.match(/<*>/g)){ Ox8f=String_HtmlEncode(Ox8f) ;} ; editor.PasteHTML(Ox8f) ; Window_CloseDialog(window) ;} ;}  ; function _CleanCode(Ox29){ Ox29=Ox29.replace(/<\\?\??xml[^>]>/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<([\w]+) class=([^ |>]*)([^>]*)/gi,OxObac2[0x14]) ; Ox29=Ox29.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi,OxObac2[0x14]) ; Ox29=Ox29.replace(/\s*mso-[^:]+:[^;"]+;?/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<o:p>\s*<\/o:p>/g,OxObac2[0x6]) ; Ox29=Ox29.replace(/<o:p>.*?<\/o:p>/g,OxObac2[0x15]) ; Ox29=Ox29.replace(/<\/?\w+:[^>]*>/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<\!--.*-->/g,OxObac2[0x6]) ; Ox29=Ox29.replace(/[\\]/gi,OxObac2[0x16]) ; Ox29=Ox29.replace(/[\\]/gi,OxObac2[0x17]) ; Ox29=Ox29.replace(/<\\?\?xml[^>]*>/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig,OxObac2[0x6]) ; Ox29=Ox29.replace(/<span\s*[^>]*>\s*&nbsp;\s*<\/span>/gi,OxObac2[0x15]) ; Ox29=Ox29.replace(/<span\s*[^>]*><\/span>/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/\s*style="\s*"/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxObac2[0x6]) ; Ox29=Ox29.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxObac2[0x6]) ; Ox29=Ox29.replace(/<([^\s>]+)[^>]*>\s*<\/\1>/g,OxObac2[0x6]) ;while(Ox29.match(/<span\s*>(.*?)<\/span>/gi)){ Ox29=Ox29.replace(/<span\s*>(.*?)<\/span>/gi,OxObac2[0x18]) ;} ;while(Ox29.match(/<font\s*>(.*?)<\/font>/gi)){ Ox29=Ox29.replace(/<font\s*>(.*?)<\/font>/gi,OxObac2[0x18]) ;} ; Ox29=Ox29.replace(/<a name="?OLE_LINK\d+"?>((.|[\r\n])*?)<\/a>/gi,OxObac2[0x18]) ; Ox29=Ox29.replace(/<a name="?_Hlt\d+"?>((.|[\r\n])*?)<\/a>/gi,OxObac2[0x18]) ; Ox29=Ox29.replace(/<a name="?_Toc\d+"?>((.|[\r\n])*?)<\/a>/gi,OxObac2[0x18]) ; Ox29=Ox29.replace(/<p([^>])*>(&nbsp;)*\s*<\/p>/gi,OxObac2[0x6]) ; Ox29=Ox29.replace(/<p([^>])*>(&nbsp;)<\/p>/gi,OxObac2[0x6]) ;return Ox29;}  ; function String_HtmlEncode(Ox92){if(Ox92==null){return OxObac2[0x6];} ; Ox92=Ox92.replace(/&/g,OxObac2[0x19]) ; Ox92=Ox92.replace(/</g,OxObac2[0x1a]) ; Ox92=Ox92.replace(/>/g,OxObac2[0x1b]) ; Ox92=Ox92.replace(/'/g,OxObac2[0x1c]) ; Ox92=Ox92.replace(/\x22/g,OxObac2[0x1d]) ;return Ox92;}  ;
		</script>
</html>
